package com.ktjy;

import com.ktjy.shili.Hours;

@Hours(hours = 4)
@Hours(hours = 4.5)
@Hours(hours = 2)
public class Worker {
    public static void main(String[] args) {
        Hours[]hours=Worker.class.getAnnotationsByType(Hours.class);
        for (Hours h : hours) {
            System.out.println(h);
        }
    }
}
